package cn.dyn.funchat;

import cn.dyn.funchat.utils.TraceIdUtil;
import cn.hutool.extra.spring.SpringUtil;
import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.Environment;

@Slf4j
@SpringBootApplication
public class FunchatApplication {
    public static void main(String[] args) {
        TraceIdUtil.putTraceId();
        SpringApplication.run(FunchatApplication.class, args);
        log.info("========== spring boot项目启动成功 ==========");
    }
}
